from rest_framework.pagination import PageNumberPagination


class Page(PageNumberPagination):
    page_size = 5  # 后端指定每页显示数量
    # # page_size_query_param = 'page'
    # max_page_size = 10
